#ifndef SDRAGON_DEBUG_H_INCLUDED
#define SDRAGON_DEBUG_H_INCLUDED

#define SDRAGON_DEBUG 1

#if SDRAGON_DEBUG == 1

    #define SDR_error(...) ({fprintf (stdout, "Error : "); fprintf (stdout, ##__VA_ARGS__); fprintf (stdout, "\n");})
    #define SDR_debug(...) ({fprintf(stdout, ##__VA_ARGS__); fprintf (stdout, "\n");})

#elif SDRAGON_DEBUG == 0

    #define SDR_error(...)
    #define SDR_debug(...)

#endif

#endif // SDRAGON_DEBUG_H_INCLUDED
